

#include "Shm.hpp"

int main()
{
    Shm shm(pathname,projid,CREATR);
    char * mem = (char*)shm.VirtualAddr();
    int cnt = 20;
    while (cnt--)
    {
        printf("%s\n",mem);
        sleep(1);
    }
    return 0;
}